package com.itrip.itripauth.mapper;

import com.itrip.itripauth.entity.UserLinkUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 四阶段项目二组
 * @since 2020-02-25
 */
public interface UserLinkUserMapper extends BaseMapper<UserLinkUser> {
    /**
     * 当前登录用户进行常用旅客名称模糊查询常用旅客信息
     * @param linkUerName
     * @param userId
     * @return
     */
    List<UserLinkUser> selectUserLinkUser(@Param("linkUerName") String linkUerName, @Param("userId") Integer userId);
}
